#pragma once
#include <vector>
#include <Windows.h>
class VMEM
{
    const size_t _DEFAULT_SIZE = 1 << 16;
    std::vector<WORD>buf;
public:
    VMEM();
    VMEM(size_t size);
    VMEM(const VMEM& from);
    WORD& operator[](WORD pos);
    VMEM& operator=(const VMEM&);
};

